package ui.activity.poscontrol.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.poscontrol.biz.MyPosControlBiz;
import ui.activity.poscontrol.contract.MyPosControlContract;

/**
 * Created by fangjunsong on 19/3/19
 * 我的终端列表页面专用
 */
@Module
public class MyPosControlModule {
    private MyPosControlContract.View view;

    public MyPosControlModule(MyPosControlContract.View view) {
        this.view = view;
    }

    @Provides
    public MyPosControlContract.View provideView() {
        return view;
    }

    @Provides
    public MyPosControlBiz provideBiz() {
        return new MyPosControlBiz();
    }
}